package com.yida.gwj.vote.outside.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("投票项目列表输出")
public class GwjVoteProjectListDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票ID")
	private Long voteId;

	@ApiModelProperty("投票标题")
	private String voteTitle;

	@ApiModelProperty("小区ID")
	@Excel(name = "小区ID")
	private Long communityId;

	@ApiModelProperty("投票发起时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startTime;

	@ApiModelProperty("投票结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	@ApiModelProperty("对外公示截止日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date publicEndTime;

	@ApiModelProperty("投票状态：0未投票、1投票中、2取消、3投票结束")
	private String voteStatus;

	@ApiModelProperty("审批状态：0未审核、1.同意、2不同意")
	private String auditStatus;

	@ApiModelProperty("提交状态：0未提交、1已提交")
	private String submitStatus;

	@ApiModelProperty("地区ID")
	private Long areaId;

	@ApiModelProperty("街道ID")
	private Long streetId;

	@ApiModelProperty("创建者ID")
	private Long createUserId;

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public void setVoteId(Long voteId) {
		this.voteId = voteId;
	}

	public Long getVoteId() {
		return voteId;
	}

	public void setVoteTitle(String voteTitle) {
		this.voteTitle = voteTitle;
	}

	public String getVoteTitle() {
		return voteTitle;
	}

	public Long getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setPublicEndTime(Date publicEndTime) {
		this.publicEndTime = publicEndTime;
	}

	public Date getPublicEndTime() {
		return publicEndTime;
	}

	public void setVoteStatus(String voteStatus) {
		this.voteStatus = voteStatus;
	}

	public String getVoteStatus() {
		return voteStatus;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public void setSubmitStatus(String submitStatus) {
		this.submitStatus = submitStatus;
	}

	public String getSubmitStatus() {
		return submitStatus;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public Long getStreetId() {
		return streetId;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteProjectDTO{");
		sb.append("voteId=").append(voteId);
		sb.append(", voteTitle='").append(voteTitle).append('\'');
		sb.append(", communityId=").append(communityId);
		sb.append(", startTime=").append(startTime);
		sb.append(", endTime=").append(endTime);
		sb.append(", publicEndTime=").append(publicEndTime);
		sb.append(", voteStatus='").append(voteStatus).append('\'');
		sb.append(", auditStatus='").append(auditStatus).append('\'');
		sb.append(", submitStatus='").append(submitStatus).append('\'');
		sb.append(", areaId=").append(areaId);
		sb.append(", streetId=").append(streetId);
		sb.append(", createUserId=").append(createUserId);
		sb.append('}');
		return sb.toString();
	}
}
